package com.hotdog.controller;



import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hotdog.pojo.TbWatchLogs;
import com.hotdog.service.TbWatchLogsService;
import com.hotdog.vo.SysResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;



/**
 * (TbWatchLogs)表控制层
 *
 * @author makejava
 * @since 2021-09-11 14:30:48
 */
@RestController
@RequestMapping("/view/watch")
public class TbWatchLogsController {
    @Autowired
    private TbWatchLogsService tbWatchLogsService;
    @PostMapping("/watchLogs")
    private SysResult insertLogs(@RequestBody TbWatchLogs tbWatchLogs){
        System.out.println(tbWatchLogs);
        return  tbWatchLogsService.insertLogs(tbWatchLogs);
    }
}

